package com.paypal.android.a.a;

import com.paypal.android.a.o;
import java.util.Vector;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

public final class c
{
  public a a;
  public a b;
  public f c;
  public Vector d;
  private String e;

  public static c a(Element paramElement)
  {
    int i = 0;
    if (paramElement == null)
      return null;
    c localc = new c();
    NodeList localNodeList1 = paramElement.getElementsByTagName("fundingPlanId");
    if (localNodeList1.getLength() != 1)
      return null;
    localc.e = o.a(((Element)localNodeList1.item(0)).getChildNodes());
    NodeList localNodeList2 = paramElement.getElementsByTagName("fundingAmount");
    if (localNodeList2.getLength() != 1)
      return null;
    localc.a = a.a((Element)localNodeList2.item(0));
    NodeList localNodeList3 = paramElement.getElementsByTagName("backupFundingSource");
    if (localNodeList3.getLength() == 1)
      g.a((Element)localNodeList3.item(0));
    NodeList localNodeList4 = paramElement.getElementsByTagName("senderFees");
    if (localNodeList4.getLength() == 1)
      localc.b = a.a((Element)localNodeList4.item(0));
    NodeList localNodeList5 = paramElement.getElementsByTagName("currencyConversion");
    if (localNodeList5.getLength() == 1)
      localc.c = f.a((Element)localNodeList5.item(0));
    localc.d = new Vector();
    NodeList localNodeList6 = paramElement.getElementsByTagName("charge");
    while (i < localNodeList6.getLength())
    {
      k localk = k.a((Element)localNodeList6.item(i));
      if (localk != null)
        localc.d.add(localk);
      i++;
    }
    return localc;
  }

  public final String a()
  {
    return this.e;
  }

  public final void a(String paramString)
  {
    this.e = paramString;
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.a.a.c
 * JD-Core Version:    0.6.2
 */